
class Punct 
{
   int x,y;
   public:
	Punct();
	Punct(int a, int b);
	int getx();
	int gety();
	void setx(int x);
	void sety(int y);
	bool operator!=(Punct);
        bool operator==(Punct);
};
class Poligon
{
   private: Punct puncte[100];
   public:
	Poligon(int n);
int nrPuncte();
	bool isPoligon();
	bool isTriunghi();
	bool isPatrat();
	bool isDreptunghi();
	bool isConvex();
	bool isConcav();
	bool operator==(Poligon);
	bool operator<(Poligon);
	double aria();
};
class Segment
{
   Punct A,B;
   public:
	Segment(Punct,Punct);
	int calcul_Lung();
void setA(Punct);
void setB(Punct);
Punct getA();
Punct getB(); 
};
